import request from '../../common/request'

//获取企业彩铃集团列表
export function queryCircleList(params){
	return request({
		url:'/order/qwcr/circle/list',
		method:'get',
		param:params,
		producttype:1,
	})
}

//获取企业彩铃集团详情
export function queryCircleInfo(params){
	return request({
		url:'/order/qwcr/circle/info',
		param:params,
		producttype:1,
	})
}

//企业彩铃集团修改
export function saveCircle(params){
	return request({
		url:'/order/qwcr/circle/edit',
		param:params,
		producttype:1,
	})
}


//企业彩铃号码地市查询
export function queryPhoneCity(params){
	return request({
		url:'/order/qwcr/member/getphonecity',
		method:'get',
		param:params,
		producttype:1,
	})
}

//企业彩铃集团创建
export function saveOrder(params){
	return request({
		url:'/order/saveOrderTwo',
		param:params,
		producttype:1,
	})
}

//企业彩铃添加成员
export function addMember(params){
	return request({
		url:'/order/qwcr/member/addMember',
		param:params,
		producttype:1,
	})
}

//企业彩铃成员列表
export function queryMemberList(params){
	return request({
		url:'/order/qwcr/member/list',
		method:'get',
		param:params,
		producttype:1,
	})
}

//企业彩铃成员短信下发
export function sendSms(params){
	return request({
		url:'/order/qwcr/member/saveSendSms',
		param:params,
		producttype:1,
	})
}

//企业彩铃成员刷新
export function refreshMember(params){
	return request({
		url:'/order/qwcr/member/editRershmobile',
		param:params,
		producttype:1,
	})
}

//企业彩铃成员删除
export function delMember(params){
	return request({
		url:'/order/qwcr/member/batchdelete',
		param:params,
		producttype:1,
	})
}

//企业彩铃成员可设置铃音列表
export function getSetRingAndNowRing(params){
	return request({
		url:'/order/qwcr/ring/getSetRingAndNowRing',
		method:'get',
		param:params,
		producttype:1,
	})
}

//企业彩铃成员设置铃音
export function setRing(params){
	return request({
		url:'/order/qwcr/member/updateringid',
		param:params,
		producttype:1,
	})
}

//企业彩铃音视频组切换
export function editGroupType(params){
	return request({
		url:'/order/qwcr/member/editGroupType',
		param:params,
		producttype:1,
	})
}

//企业彩铃成员转网
export function changePhoneType(params){
	return request({
		url:'/order/qwcr/member/editChangephonetype',
		param:params,
		producttype:1,
	})
}

//企业彩铃铃音添加
export function saveRing(params){
	return request({
		url:'/order/qwcr/ring/ringsave',
		param:params,
		producttype:1,
	})
}

//企业彩铃铃音列表
export function queryRingList(params){
	return request({
		url:'/order/qwcr/ring/list',
		method:'get',
		param:params,
		producttype:1,
	})
}

//企业彩铃删除铃音
export function delRing(params){
	return request({
		url:'/order/qwcr/ring/ringdel',
		param:params,
		producttype:1,
	})
}

//企业彩铃复制铃音
export function copyRing(params){
	return request({
		url:'/order/qwcr/ring/copyRing',
		param:params,
		producttype:1,
	})
}